

<SCRIPT LANGUAGE="JavaScript">
<!--

function f_setGrid() {
	f_setTotalDate();
}

function f_setTotalDate() {
	
	var currentdate = getToday().split("-");
	var var_year = currentdate[0];
	var var_month = currentdate[1];
	var var_date = currentdate[2];
	if (var_month.length == 1)  var_month = "0"+var_month;
	if (var_date.length == 1) var_date = "0" +var_date;


	var account_date = document.all("extend_param").value;
	if (account_date == "") {
		document.all("begin_date").value = var_year+"-"+var_month+"-"+var_date;
		document.all("end_date").value = var_year+"-"+var_month+"-"+var_date;
	} else {
		account_date = account_date.split(";");
		document.all("begin_date").value = account_date[0];
		document.all("end_date").value = account_date[1];
	}
}

//-->
</SCRIPT>
<table class="gridTbl">
<tr class="gridData">
	<td class="gridData" ><label id="totalDate"><eam:message key = "text.total.totalDate"/>(YYYY-MM-DD):</label>

<input type="text" name="begin_date" value="" size="10" >-<input type="text" name="end_date" value="" size="10" >
	

</TD>
</TR>
</TABLE>
